package com.company.behavioral.memento_pattern.caretaker;

import com.company.behavioral.memento_pattern.memento.ChessmanMemento;

/**
 * @ClassName MementoCaretaker
 * @Author tiezheng.han
 * @Date 2020/9/4 18:09
 **/
public class MementoCaretaker {
    private ChessmanMemento memento;

    public ChessmanMemento getMemento() {
        return memento;
    }

    public void setMemento(ChessmanMemento memento) {
        this.memento = memento;
    }
}
